
export default {
    id: "BuyMedicineEntity",
    returnTotal: true,
    modelFile: "buymedicine/dataset/BuyMedicineEntity.xml",
    sortFields: [
        "record_id",
        "record_status",
        "create_by",
        "create_date",
        "update_by",
        "update_date",
        "drugstore",
        "payment_status",
        "total_money",
        "prescription_id",
        "take_medicine_code",
        "discount_money",
        "medicine_money",
        "is_evaluate",
        "take_drug_method",
        "take_drug_address",
        "type",
        "remark",
    ],
    fields: {
        record_id: {
            name: "record_id", //字段ID
            label: "记录编号", //字段描述
            dbtype: "dbString", //数据类型

        },

        record_status: {
            name: "record_status", //字段ID
            label: "状态", //字段描述
            dbtype: "dbInt", //数据类型
            length: 25,
            readonly: true,
        },
        create_by: {
            name: "create_by", //字段ID
            label: "创建人", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        create_date: {
            name: "create_date", //字段ID
            label: "创建时间", //字段描述
            dbtype: "dbDate", //数据类型
            readonly: true,

        },
        update_by: {
            name: "update_by", //字段ID
            label: "更新人", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },


        update_date: {
            name: "update_date", //字段ID
            label: "更新时间", //字段描述
            dbtype: "dbDate", //数据类型
            readonly: true,
        },
        drugstore: {
            name: "drugstore", //字段ID
            label: "药店名字", //字段描述
            dbtype: "dbString", //数据类型   
            readonly: true,
        },

        payment_status: {
            name: "payment_status", //字段ID
            label: "订单状态", //字段描述
            dbtype: "dbInt", //数据类型
            readonly: true,
        },
        total_money: {
            name: "total_money", //字段ID
            label: "总金额", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },
        prescription_id: {
            name: "prescription_id", //字段ID
            label: "购药关联编号", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        take_medicine_code: {
            name: "take_medicine_code", //字段ID
            label: "取药码", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },

        discount_money: {
            name: "discount_money", //字段ID
            label: "优惠费用", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },

        medicine_money: {
            name: "medicine_money", //字段ID
            label: "药品费用", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },
        is_evaluate: {
            name: "is_evaluate", //字段ID
            label: "是否已评价", //字段描述
            dbtype: "dbInt", //数据类型
            readonly: true,
        },
        take_drug_method: {
            name: "take_drug_method", //字段ID
            label: "取药方式", //字段描述
            dbtype: "dbInt", //数据类型
            readonly: true,
        },
        take_drug_address: {
            name: "take_drug_address", //字段ID
            label: "地址", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        type: {
            name: "type", //字段ID
            label: "订单类型", //字段描述
            dbtype: "dbInt", //数据类型
            readonly: true,
        },
        remark: {
            name: "remark", //字段ID
            label: "备注", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },

    }
}
